home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / othergnu / gnuchess.zoo / MAKEFILE < prev    next >
Encoding:
Text File  |  1988-08-08  |  1.3 KB  |  51 lines

  1. #
  2. # Makefile for CHESS
  3. #
  4. # Copyright (C) 1986, 1987, 1988 Free Software Foundation, Inc.
  5. #
  6. # This file is part of CHESS.
  7. #
  8. # CHESS is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY.  No author or distributor
  10. # accepts responsibility to anyone for the consequences of using it
  11. # or for whether it serves any particular purpose or works at all,
  12. # unless he says so in writing.  Refer to the CHESS General Public
  13. # License for full details.
  14. #
  15. # Everyone is granted permission to copy, modify and redistribute
  16. # CHESS, but only under the conditions described in the
  17. # CHESS General Public License.   A copy of this license is
  18. # supposed to have been given to you along with CHESS so you
  19. # can know your rights and responsibilities.  It should be in a
  20. # file named COPYING.  Among other things, the copyright notice
  21. # and this notice must be preserved on all copies.
  22. #
  23. #
  24. # gnuchess is the alpha-display version
  25. # nchess   is the CHESSTOOL version
  26. #
  27. #
  28.  
  29. all : gnuchess nchess
  30.  
  31. gnuchess: gnuchess.o uxdsp.o
  32.     cc -o gnuchess gnuchess.o uxdsp.o -lcurses -ltermlib
  33.  
  34. nchess: gnuchess.o nondsp.o
  35.     cc -o nchess gnuchess.o nondsp.o
  36.  
  37. gnuchess.o: gnuchess.c
  38.     cc -O -c gnuchess.c
  39.  
  40. uxdsp.o: uxdsp.c
  41.     cc -O -c uxdsp.c
  42.  
  43. nondsp.o: nondsp.c
  44.     cc -O -DCHESSTOOL -c nondsp.c
  45.  
  46. gnuchess.c: src-catted
  47.  
  48. src-catted:
  49.     cat gnuchess.c1 gnuchess.c2 >gnuchess.c
  50.     touch src-catted
  51.